
package com.ebupt.migu.music.global.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ebupt.migu.music.common.entity.ResultObject;
import com.ebupt.migu.music.global.service.impl.ConditionRelationServiceImpl;

/**
 * 个性条件 控制器
 *
 * @author wangzhu
 * @since 2021-11-26
 */
@RestController
@RequestMapping("/global/condition")
public class ConditionRelationController {

	@Resource
    private ConditionRelationServiceImpl conditionRelationServiceImpl;

    @PostMapping("/configuration")
    public ResultObject getConditions() {
        return conditionRelationServiceImpl.getConditions();
    }

}
